package com.kata.chapter15;

/**
 *
 * 栈帧的实现
 * Created by Solidsnake on 2014/12/23.
 */
public class Frame<T> {
    private T value;
    private Frame<T> next = null;

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public Frame<T> getNext() {
        return next;
    }

    public void setNext(Frame<T> next) {
        this.next = next;
    }
}
